-
Functional Approximation – Deep Neural Network
Functional approximation in reinforcement learning (RL) is a way to handle complex environments where keeping track of every possible situation (state) is impractical. Instead of storing exact values for every state, we use mathematical models (functions) to estimate them. Why is it needed? In RL, an agent learns by interacting with an environment and trying…
-
Running Oracle Coherence on VM instead of Physical Machines
1. Performance Consistency 2. Low Latency 3. Resource Allocation 4. Network Optimization 5. Cluster Stability 6. Fault Isolation 7. High Throughput Requirements When to Consider Virtual Machines While physical machines are often preferred, some scenarios might make VMs a reasonable choice:
-
Why Java Garbage Collection Becomes Slow When Memory Is Paged to Disk
When Memory Is Paged to Disk Paging occurs when the operating system runs out of physical memory (RAM) and uses a portion of the disk (swap space) to simulate additional memory. This happens under the following conditions: How to Prevent Paging and Slow GC Conclusion Garbage collection slows significantly when memory is paged to disk…
-
Active Active Low-level Requirements
Scalable Architectures Part-1 What it takes to build Active-Active Series Part-2 Low level details of general App Here’s a more detailed explanation of each layer and the requirements to consider for making the Active-Active setup flawless: Session Management Session management is critical in an Active-Active setup to ensure that user sessions are preserved across multiple…
-
Microservices Architecture, A developer’s Prespective
Microservices architecture addresses many concern of application development but does not solve all the problems. It has its own advantages and limitations. In order to understand it fully, we need to understand one common architecture pattern in practice, i.e. Monolithic Architecture Monolithic architecture are highly tightly coupled and you can’t change something without impacting other.…
-
Apple Siri’s Architecture
Apple siri has evolved many times and each and every time it has managed to bounce back with solid capabilities, sky is the limit and we can only expect some or other kind of improvement in the architecture as the technology evolves. These guys have not given an inch to rivals. Apple Siri backend runs…