on 10-28-2022 2:17 PM
Ho,
I have written a Nodejs.App which could be reached with REST.
The app could retrieve binary data (such as images) and stores them in the SAP HANA DB.
Now I want to store the binary-files directly directories of the BTP webserver.
Any Idea, how I could adchive this?
Kind regards
Jens
You should be able to write the files to the file system of the app (node js service), but once you scale it, you have the stored file on one node and not on the other. For temporary storage it might be ok, but I would not use that approach for real persistency. So I would probably store them in separate file service... BTP Object Store, S3 bucket, Dropbox...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A separate file service is best because your service remains stateless as opposed to stateful. There is a wise saying that goes like this: "stateful is painful" 😄
BTP Object store is backed by S3 or Azure blob storage at the same cost but staying inside BTP makes security and vendor support much easier. In Q1 2023, you will also be able to use the service redis in BTP.
I felt adventurous and deployed my own elastic storage solution inside Kyma with min.io but it is not suitable for productive use.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.