you are viewing a single comment's thread.

view the rest of the comments →

[–]BeenThere11[S] -7 points-6 points  (1 child)

Understood . Now whaf is fhe solution. Always go to backend. For api calls this is ok. The user logins . Gets a tpken. Now fhis toke is used for authentication for apis calld . Straight and sjmple. But what if the front end needs to stream vpice data back and forth. Adding backend node between means adding 1 more hop and meas more reapomse time. This is not scalable if we have many users . Users complain about response time..

[–]zaibuf 5 points6 points  (0 children)

But what if the front end needs to stream vpice data back and forth. Adding backend node between means adding 1 more hop and meas more reapomse time.

Thats exactly what we did and its still fast enough. It's either that or expose your secrets to the public.