Narra Ish (@DimasRifan) header
Narra Ish (@DimasRifan) profile picture

my parents gave me a name but finally I decided to made my own

Jakarta Capital Region, Indone
Joined October 2013
Photo by Narra Ish (@DimasRifan)Photo by Narra Ish (@DimasRifan)Photo by Narra Ish (@DimasRifan)Photo by Narra Ish (@DimasRifan)Photo by Narra Ish (@DimasRifan)Photo by Narra Ish (@DimasRifan)Photo by Narra Ish (@DimasRifan)Photo by Narra Ish (@DimasRifan)Photo by Narra Ish (@DimasRifan)Photo by Narra Ish (@DimasRifan)
We are aware some users might be currently experiencing issues with PSN. For more details: status.playstation.com
50,579
5,242
5,964
55,886
26,628,446
CVE-2024-22243 has been published for a URL parsing with Domain Validation vulnerability. Please, read spring.io/security/cve-2024-….
1
15
1
73
18,923
Narra Ish retweeted
Caching 101: The Must-Know Caching Strategies Fetching data is slow. Caching speeds things up by storing frequently accessed data for quick reads. But how do you populate and update the cache? That's where strategies come in. 🔍 Read Strategies: Cache Aside (Lazy Loading) - How it works: Tries cache first, then fetches from DB on cache miss - Usage: When cache misses are rare or the latency of a cache miss + DB read is acceptable Read Through - How it works: Cache handles DB reads, transparently fetching missing data on cache miss - Usage: Abstracts DB logic from app code. Keeps cache consistently populated by handling misses automatically 📝 Write Strategies: Write Around - How it works: Writes bypass the cache and go directly to the DB - Usage: When written data won't immediately be read back from cache Write Back (Delayed Write) - How it works: Writes to cache first, async write to DB later - Usage: In write-heavy environments where slight data loss is tolerable Write Through - How it works: Immediate write to both cache and DB - Usage: When data consistency is critical 🚀 Real-Life Usage: Cache Aside + Write Through This ensures consistent cache/DB sync while allowing fine-grained cache population control during reads. Immediate database writes might strain the DB. Read Through + Write Back This abstracts the DB and handles bursting write traffic well by delaying sync. However, it risks larger data loss if the cache goes down before syncing the buffered writes to the database. – Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/496keA7
6
175
3
748
38,406
Narra Ish retweeted
How Discord Stores Trillions of Messages In 2015, Discord started using MongoDB to store messages. By November 2015, there were already 100 million messages that did not fit in RAM, causing unpredictable latency. In 2017, Discord moved to storing billions of messages in a Cassandra database. By 2022, the number of stored messages had ballooned to trillions across 177 nodes. But Cassandra was plagued by several serious issues. - Hot partitions occurred when a small number of high traffic channels overwhelmed nodes, cascading latency across the cluster. - Garbage collection pauses created latency spikes. - Compactions fell behind, forcing expensive reads to query multiple SSTables. - Maintenance like node repairs interrupted service. Discord migrated to ScyllaDB for the following benefits: - Written in C++ instead of Java, eliminating disruptive garbage collection pauses - Shard-per-core model provides stronger workload isolation to prevent hot partitions from cascading latency across nodes. - Reverse query performance optimized to meet Discord's needs - They reduced nodes to 72 while increasing disk space per node to 9TB. To further protect ScyllaDB, Discord: - Built intermediary data services in Rust that limit concurrent traffic spikes - Data services sit between the API and database, coalescing requests - Query the database just once even if multiple users request the same data - Rust provided fast, safe concurrency ideal for this workload The results? Tail latencies down from 40-125ms to a steady 15ms. Database uptime improved from weekend-long outages to smooth sailing. The system easily handled World Cup traffic spikes, processing events like goals and penalties without breaking a sweat. Discord continues to scale, now reliably storing trillions of messages with ScyllaDB. – Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/496keA7
11
254
8
1,280
144,271
Another skill tree done! Big thanks to the amazing @MakeAugusta for the help with this one. Just in time for #defcon #badgelife makers, how many can you colour in? Visualise your skills and get inspired to try new things. Open source and free to download.
16
58
25
287
52,668
Narra Ish retweeted
Top 35 Java String Interview Questions with Answers for 2 to 5 Years Experienced Programmers buff.ly/3nDkGzI
9
21
96
You and I in this conversation, probably spilled a lot of false statements. But the way we do to find the truth is never be wrong !!
🚨 GIVEAWAY HEBOH AKHIR TAHUN 🚨 Hadiah melimpah buat kalian semua 😉 Caranya : 1. Follow @lionparcel_ 2. Like dan RETWEET postingan ini hingga mencapai 20,000 RETWEET Ajak temen kalian bantuin RETWEET buat dapetin semua hadiahnyaa~ #JAGOPACK #JagoOngkirMurah Sampai 12 Des!
959
2,839
140
3,876
Very interesting read: Energy efficiency of programming languages hackaday.com/2021/11/18/c-is… #c #rust #golang #java
9
123
11
308
Sorry sir. I don't smoke marijuana. At my country we smoke kretek...
1
Most of great people don't follow the principles of their parents, but they evolve them
Amazon has been putting a lot of effort into Java. One of the central themes for us has been the reduction of latency. A little while ago a couple of our folks gave an interesting (and ultra geeky) talk on that journey. youtube.com/watch?v=S4IrAZ5w…
4
125
2
587
There is no such thing as a super computer, it is just only a magic tricks...
1