Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25517

Using mattermost architecture for backend API

$
0
0

Hi,
I decide to use mattermost for our next project backend. Is this affordable when there are a lot of concurrent users? Because I read code and see that the communication with database is quite complex. It uses channel, for example:

if result := <-Srv.Store.Team().Get(user.TeamId); result.Err != nil {
    c.Err = result.Err
    return
} else {
    team = result.Data.(*model.Team)
}

I am wondering when something wrong with channel and it can not return the value, may be deadlock.
I appreciate all advices or corrections for my question, it's the first time I use Go as backend of big project.
Thanks.


Viewing all articles
Browse latest Browse all 25517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>