Forum Activity for @dannya

alt=
@dannya
03/11/17 01:31:24PM
584 posts

Disk space calculation


Jamroom Developers

I just noticed that in the ACP profile browser, it now displays storage. That's awesome. I had a few questions

How is that calculated? if I upload a 10MB audio file, does the storage include the transcoded variants?

Are images and other data included?

Is there a way to call the storage usage amount through a function? e.g. to display to the user or for billing?

Also, I have custom modules that do some additional conversions and store other data. Do I need to do anything to make sure this storage is counted as well?

Finally, is there a plan to measure the amount of DATA an account consumes based on requests?
updated by @dannya: 06/17/17 11:21:34PM
alt=
@dannya
03/11/17 11:10:00AM
584 posts

Load balancing multiple servers


Using Jamroom

I don't disagree with the points made in the blog post. And I agree your solution will provide benefits over the current implementation. But I'll also argue, as mentioned in the blog, that if you really understand your workflows and bottlenecks, having microservices can help.

Encoding is the best example. You can optimize a server for encoding much better to process media files; especially if you don't have all the overhead of the monolith. Even today, our conversion servers conversion server has very few modules active. But having to provide enough resources, maintain, and monitor a full jamroom install and another db just to run FFMPEG and SOX is pretty silly. And it still requires the same connection/IO resource of a microservice.

I realize that aside from the Jamroom network, 98% of JR users aren't scaling a single site enough to require that. The JR network also runs multiple sites, not a single large site; so it's needs are different and I'm sure it's driving much of the cloud module's new capabilities.

Happy to try the new release. Every improvement helps. Just wanted to throw my hat in the ring
updated by @dannya: 03/11/17 11:11:08AM
alt=
@dannya
03/11/17 10:04:05AM
584 posts

Load balancing multiple servers


Using Jamroom

Ok. I'll wait until then. Although we have a lot of custom modules that use the queue to process on other servers. Hopefully it won't affect that.

Also, it may be too late, but to re-iterate some feedback I provided a while back. In the medium term, I am really interested in being able to break out modules as microservices that can be scaled independently. Right now we have a few modules that run on conversions servers and the log server is also separate. The next thing i want to be able to break out are the (custom) reporting and analytics modules and some other cpu intensive functions.

The cloud modules allow this to an extent. The problem is having to deploy a full instance of JR to run a service is really resource intensive. It would be great if the architecture made it easire to call out external services without requireing a full JR install.
updated by @dannya: 03/11/17 10:04:48AM
alt=
@dannya
03/11/17 06:32:29AM
584 posts

Load balancing multiple servers


Using Jamroom

Can you guys provide documentation for load balancing multiple servers for a single site? What are the requirements for the load balancer? What are the JR config settings we need to be aware of so that users will access same data on both servers? Is it as simple as making sure the configuration is exactly the same on both servers and they both point to the same DB?


updated by @dannya: 06/16/17 09:28:36PM
alt=
@dannya
03/11/17 06:26:58AM
584 posts

Proxima on a different host


Proxima

How would you set up the server so you can host the api requests on a different server than the main app server? i.e. I want my api calls to go to API.mysite.com so it doesn't put a load on www.mysite.com.
updated by @dannya: 06/17/17 09:14:13AM
alt=
@dannya
03/11/17 06:24:55AM
584 posts

Documenting API


Proxima

Not exactly. If you look at an api builder like Apiary or swagger, it generates the documentation for you. I was hoping proxima was created in a similar manner so that when we created the collections, the documentation interface would be created for you. Also, from what I can see, the Docs module would be very limited for creating complete api documentation.

I wounder if you could build your own JR api with swagger instead of using proxima...
updated by @dannya: 03/11/17 07:31:32AM
alt=
@dannya
03/08/17 10:30:17AM
584 posts

Documenting API


Proxima

Just curious if proxima used some framework? I am looking to create some collections and need to provide documentation for creating an app, authenticating, and listing all the calls that can be made. I want to let people register their own apps, and add/update/view data.

I know there are some api frameworks that also generate documenatation. Do we have any of that?
updated by @dannya: 06/15/17 03:37:31PM
alt=
@dannya
02/09/17 06:36:31PM
584 posts

Upload first


Jamroom Developers

Ok. Thanks. We'll try it.
alt=
@dannya
02/08/17 02:51:34PM
584 posts

Upload first


Jamroom Developers

Thanks Brian. I think what you are talking about is on the right track. Can you provide any more detail?
alt=
@dannya
02/08/17 02:49:49PM
584 posts

Upload first


Jamroom Developers

So, assume the user drags the file and it starts uploading right away. We have not hit "upload" or "submit" then. We can assume the title will be extracted from the file name. Would you automatically save the entry and then updated if the user started changing the metadata (e.g. titile).

Again I will refer to the youtube example. Once I drag the file to the upload area, it starts uploading. No further action is needed. However, if I do add/change metadata and submit, the record is updated.

What I don't understand is how the record is linked with the uploaded file if the page state hasn't changed.
  6