
Cats, coding, coffee lover
Bosnia and Herzegovina
Joined May 2018
- Tweets1.1K
- Following699
- Followers141
- Likes4.6K
Pinned Tweet
Imagine in future, we will need vr web developers. With custom and interactive websites, the possibilities are endless 😍
#webdev
4
#ai is useful. I use it every day.
But in product work, polished assumptions are starting to replace real discovery.
That’s the avalanche: open.substack.com/pub/amarbu…
41
Amar Bugarin retweeted
So freaking speechless right now. Seen many @vercel functions stories but first time experiencing such discrepancy vs request logs like, this is cannot be real??
Wow this was interesting, thanks @AlemTuzlak and @thomasf. I will try remix with aws lambda 🤩
🚀 Thrilled to share that our company website is live! A significant step towards @AlemTuzlak and my mission to enhance developer productivity.
Dive into our new digital home: forge42.dev
#LaunchDay
2
3
329
Amar Bugarin retweeted
if you are choosing a performance based language, here are my top three, in order of performance of course
* python
* javascript
* lua
each of these languages can maximize how much cpu you use
Amar Bugarin retweeted
scrum and soccer are very similar
90 minutes of running around and sometimes something happens
Amar Bugarin retweeted
This formula will tell you how good your Cache is.
Divide the cache Hits by the total number of cache Requests (Hits + Misses).
The Cache Hit Ratio measures how often you find the requested data in the Cache instead of fetching it from a slower data source.
What's the Impact of "Cache Hits" and "Cache Misses" on Performance?
Cache Hits:
They enhance performance by reducing data access time. Data comes from the faster cache memory, leading to quicker response times.
Decreases load on the primary storage or database, conserving resources.
Cache Misses:
They degrade performance as the system fetches data from the slower primary storage. This increases response times and can strain the primary data source.
Increases the workload on the primary data storage, impacting system efficiency.
What is a Good Cache Hit Ratio?
A "good" Cache Hit Ratio depends on application requirements and the nature of the data, but often:
- High-Performance Systems: Aim for 90% or higher.
- Moderate Systems: Ratios above 70-80% are acceptable.
- Context-Specific: For some systems, even a lower ratio might be enough, depending on the cost of cache misses and the nature of the data.
How to Increase the Cache Hit Ratio?
1. Optimize Cache Size: Make sure the Cache is large enough to hold often accessed data but not so large that it starts to have diminishing returns.
2. Eviction Policies: Use Least Recently Used (LRU) or Least Frequently Used (LFU) to manage cache contents.
3. Data Patterns Analysis: Understand access patterns and the most often accessed cache data.
4. Prefetching: Predict and preload data into the Cache.
5. Cache Layer Tuning: Watch and tune the cache layer based on usage.
6. Data Partitioning: Distribute data to reduce cache contention.
7. Use of Distributed Caching: In distributed systems, use a distributed cache to increase availability and redundancy.
You can't improve what you don't measure; the same applies to Cache.
What's your Cache Hit Ratio?
Amar Bugarin retweeted
Learn about the hidden cost with JavaScript runtimes.
By optimizing package imports, we’ve seen 40% faster cold boots when using libraries with many barrel files.
vercel.com/blog/how-we-optim…


























