From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Nim Li <mr.nim.li@gmail.com>
To: Lorusso Domenico <domenico.l76@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Question about where to deploy the business logics for data processing
Date: Fri, 9 Jun 2023 16:23:21 -0700
Message-ID: <a2f8b681-ab33-3c0e-c37d-b020fec86670@aklaver.com> (raw)
In-Reply-To: <CAO-UfBVZoXpoSc--QR7dDWB+ZCetzAhmGc_go11reEoNfDqk9A@mail.gmail.com>
References: <CAO-UfBVKGh1vQk6EoO7jRSvtjRcjnQw8U15bPWPB6+goNoiqAg@mail.gmail.com>
<CAJMpnG5SgD-ETiEt4CK2Ud0NAEeD3Z2NbjDhaQCbnHp=m3jqgw@mail.gmail.com>
<CAO-UfBVZoXpoSc--QR7dDWB+ZCetzAhmGc_go11reEoNfDqk9A@mail.gmail.com>
On 6/9/23 11:36, Nim Li wrote:
> Hello,
>
> Thank you so so much for all the feedback so far. :D
>
> About this comment:
>
> > "... an application that requires changing the data model does not
> seem to be well designed...don't allow model change by the business
> logic..."
>
> I work in a science research faculity. When researchers start a
> project, they don't necessary get the full picture of what they are
> hoping to achive (yet they may get some ideas about the starting point
> that allow them to move forward) By the time they see 40% percent of
> what they have done, they may start to have a different thought and move
> towards a different direction, or in some cases, they may spin it off to
> something different after a certain period of time Coming with my Agile
> Development mindset in the research area, it is common for me to see
> users changing their requirement and expectation, with the same buckets
> for the data. Yes, there is quite a lot of work to keep the researchers
> happy. ;-)
>
> I suppose when there is a specific end-goal to achive for a project, a
> more specific design can be more feasible based on the goal. But when
> the end-goal is not necessary clear, and/or change-able, I am not
> exactly clear how we may draw a black-and-white line to determine a
> design is good or not (.. and for how long...)
>
Seems to me you are looking for a two part set up:
1) A experiment play ground where ideas and processes can be tested out
in a more free form manner. Some example software I have used or
experimented with that can fill that role:
Pandas
https://pandas.pydata.org/
Duckdb
https://duckdb.org/
Polars
https://pola-rs.github.io/polars-book/
2) Once something that resembles a solid plan has been developed then
move to Postgres or not.
--
Adrian Klaver
adrian.klaver@aklaver.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, mr.nim.li@gmail.com, domenico.l76@gmail.com
Subject: Re: Question about where to deploy the business logics for data processing
In-Reply-To: <a2f8b681-ab33-3c0e-c37d-b020fec86670@aklaver.com>
References: <CAO-UfBVKGh1vQk6EoO7jRSvtjRcjnQw8U15bPWPB6+goNoiqAg@mail.gmail.com> <CAJMpnG5SgD-ETiEt4CK2Ud0NAEeD3Z2NbjDhaQCbnHp=m3jqgw@mail.gmail.com> <CAO-UfBVZoXpoSc--QR7dDWB+ZCetzAhmGc_go11reEoNfDqk9A@mail.gmail.com> <a2f8b681-ab33-3c0e-c37d-b020fec86670@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox