|
Requests processed in a data center close to them. have their request for a web page processed in Tokyo instead of Los Angeles. Beyond that you've probably already been exposed to edge computing albeit in a limited way. A content delivery network is a method of caching content in various data centers. Edge computing is taking this idea and applying it to business logic. Edge Computing Considerations Assuming you already have scaling considerations in mind, you may be wondering what other challenges may exist with these new edge deployments. For some applications, there are no additional challenges, such as static sites, which are great use cases for edge capabilities. Your pages can be generated at build or deploy time and then served at the edge, reducing latency and increasing reliability. However there is an obvious drawback for data driven applications if your business logic is at the edge it still needs to communicate with the database at the center.
The business logic and the data store. In the worst case scenario you may have business logic in different areas trying to access your database making the latency problem worse The graph sho photo editing servies ws that the server takes a long time to communicate with the remote database. The diagram shows the server communicating quickly with nearby databases. Placing the database closer to the server can significantly improve load times. This is further complicated by limitations within the edge functions themselves. Since the goal of edge computing is to distribute large amounts of computing globally there are some trade-offs to ensure performance. In most cases the consideration comes down to the fact that the code must run in a true isolation environment. Code must adhere to tighter resource limits. The code may not have access to the full set of eg.
The code might not open stateful connections or might only open a certain number of connections. Edge Computing Solutions Fortunately the edge computing ecosystem is growing rapidly. Companies such as Microsoft and Microsoft have edge solutions that in turn have multiple application solutions powered by data storage. Unlike the serverless solutions above these solutions can be quite complex and highly dependent on your specific implementation. Be sure to carefully evaluate each option to meet your needs. The proxy connection via is not ideal but adding an extra proxy layer between the business logic and the database can help preserve the existing infrastructure while making as few changes as possible. In this case you can use In some cases you will still see improvements in latency but most of the latency will be shifted from the connection between the client and the business logic to the connection between .
|
|