Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use it in client browser? #457

Open
sprappcom opened this issue Jun 30, 2024 · 1 comment
Open

how to use it in client browser? #457

sprappcom opened this issue Jun 30, 2024 · 1 comment

Comments

@sprappcom
Copy link

  1. is this production ready?
  2. who are the users of it?

thx

@tikue
Copy link
Collaborator

tikue commented Jun 30, 2024

Hi! I don't have any examples of using it on the browser. I've heard in the past of people experimenting with compiling to wasm, but I haven't done so myself.

  1. tarpc by itself is a small piece of the production story. IMO a lot goes into production readiness and has as much to do with who's deploying the code as it does what the code is. There are a lot of additional things to think about when deploying, like:
    • transport protocol: will forwards compatibility be needed so that additional data can be added to requests as the service adopts new features?
    • software release processes — when bugs are inevitably introduced into the production stack, how are they caught before they affect a large percentage of users?
    • traffic patterns — how much traffic will there be? Is traffic steady or does it spike at some times of the day, week, month, or year? Will there be one process deployed or is a level of redundancy needed?
    • load balancing — Does there need to be automatic scaling up or down of number of processes to meet changing traffic patterns? If deploying multiple redundant processes, how will load balancing be done? How do clients discover the addresses of all the redundant services? When a process is overloaded, how will it shed load to keep itself healthy?
    • authentication and authorization — how will user data be protected?
    • telemetry — how are metrics, traces, and logs being collected and monitored?
    • oncall rotation — who is responding if an alert goes off in the middle of the night?
  2. Crates.io shows reverse dependencies, that's probably the easiest way to find out who's using it: https://crates.io/crates/tarpc/reverse_dependencies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants