Tagging
Try bookmarklet. Easy tagging.
Do you want to delete?
Do you want to modify?
  • LINKTAG
  • New
  • Tag
  • Comment
  • Tag, it
Sign in

it

it ops aws s3 presignedurl

[AWS + Spring] S3 : 파일 업로드 & 다운로드 (2) (Presigned URL, Multipart Upload)

이전 포스팅에서는 Spring 프로젝트에서 로컬 개발 환경과, EC2 프로덕션 환경에 따른 S3 연동 방법 및 기본적인 업로드와 다운로드를 구현해 보았었다. 이번 포스팅에서는 S3 업로드와 다운로드 방식을 고도화하여 Presigned URL을 사용하는 방법에 대해서 살펴보고, 업로드 시 여러개의 Chunk 단위로 분할 업로드하는 방식인 S3 Multipart Upload에 대해서도 함께 살펴보려고 한다. 1. Presigned URL   - 업로드 및 다운로드 구현 (Spring + 바닐라 JS)2. Multipart 업로드   - 업로드 및 다운로드 구현 (Spring + 바닐라 JS)    [AWS + Spring] S3 활용 : 파일 업로드와 다운로드 (1) (개발 환경 및 프로덕션 환경에서의 기본..
wono | discuss |
it ops aws s3 presignedurl

AWS S3 & Pre-signed URL 사용 후 발생한 문제들 (feat. CORS)

이미지를 업로드하거나 삭제하는 행위는 해당 서비스에 권한이 있는 사람만 할 수 있다. 이를 위해 서버에서 Pre-signed Url을 받아와 AWS S3에 접근하도록 만들었다. 이런 구조가 되면서 몇 가지 문제가 발생했는데 다음과 같다. 사용자가 이미지를 제출하면 Client(React)는 서버에게 Pre-signed URL을 받아와 AWS S3에 바로…
wono | discuss |
it ops aws s3 presignedurl

Pre-Signed URL과 Signed URL로 S3 안전하게 사용하기

👀 들어가며
wono | discuss |
it dev java presignedurl cloudfront

Presigned URL과 CDN으로 이미지 업로드 & 조회 개선

들어가며안녕하세요! 요즘 플러피(Fluffy)라는 온라인 시험 제작 및 관리 서비스를 개발하고 있습니다. 보통 시험 문제에는 다양한 이미지들이 포함되어 있습니다. 플러피 서비스 또한 시험 지문에 이미지를 추가할 수 있는 기능을 만들었습니다. 처음에는 클라이언트에서 이미지를 서버로 전송하고, 서버에서 다시 AWS S3로 업로드하는 방식으로 작업했습니다. 이 방식이 궁금하신 분들은, 이전에 작성한 스프링에서 AWS S3를 이용한 이미지 업로드 방법 글을 참고해주세요. 하지만 이 방식에는 몇 가지 아쉬운 점이 있었습니다. 이미지 업로드의 경우, 이미지가 서버를 거쳐야 하기 때문에 서버의 부하가 커지고, 업로드 속도 또한 상대적으로 느립니다. 이미지 조회의 경우, S3에서 이미지를 직접 가져오기 때문에 조회 속..
wono | discuss |
it dev n3xtjs shadcn pagination

Epic Next JS 15 Tutorial Part 8

Learn how to implement search and pagination functionalities in Next.js.
wono | discuss |
it dev nextjs shadcn

How to create search in ui/shadcn?

I try to use this https://ui.shadcn.com/docs/components/command for searching functionality but the problem is that it doesn't overlap the text. as you can see in the image. The dropdown doesn't o...
wono | discuss |
it ops db dbeaver erd

Two ways to use ERD in DBeaver

An Entity Relationship (ER) Diagram is a type of flowchart that illustrates how entities relate to each other within a system. In terms of a database
wono | discuss |
it ops db dbeaver

Rearrange columns in a simpler way · Issue #19042 · dbeaver/dbeaver

Is your feature request related to a problem? Please describe. Its really hard to re-arrange the columns from the result set by drag and drop one by one or I have write the SQL according to the column arrange I required. Describe the sol...
wono | discuss |
it dev javascript foreach map throw

JavaScript에서 forEach, map 함수 내에서 throw Error가 되지 않을 때 해결 방법

많은 JavaScript 개발자들이 배열을 처리할 때 map 함수를 즐겨 사용합니다. 그러나 때때로 예상치 못한 문제에 부딪힐 수 있습니다. 이 글에서는 map 함수 내에서 throw Error가 작동하지 않는 상황을 해결하는 방법에 대해 알아보겠습니다. 1. 문제 상황 파악 자바스크립트의 map/forEach 함수는 배열의 각 요소에 대해 주어진 함수를 호출하고, 그 결과를 모아
wono | discuss |
it ops db kysely cte

kysely/site/docs/recipes/0010-extending-kysely.md at a43b270cb6c88208d1d3f79b958e774deebe63f2 · kysely-org/kysely

A type-safe typescript SQL query builder. Contribute to kysely-org/kysely development by creating an account on GitHub.
wono | discuss |
it ops db kysely cte

vaylaopas/src/server/db/db.ts at 3a6c28047e5d23c5196344a6beb5c44c5f51c38f · arttuka/vaylaopas

Contribute to arttuka/vaylaopas development by creating an account on GitHub.
wono | discuss |
it ops db kysely

How to write "SELECT 1 FROM tablename" - Kysely

I want to create subquery for exists but don't know type select(1)...? should I use val or sql.lit or other way...? Thanks in advance https://kyse.link/?p=s&i=rF7gNapHXGQFdbmhVHJx
wono | discuss |
it ops db kysely

Merge temp table as source table · Issue #959 · kysely-org/kysely

Is there a way to use temp table as the source table in merge statement something like this? await db.mergeInto('mainTable').using('tempData', 'mainTable.itemCode', 'tempData.itemCode').whenMatched()...... SQL Statement MERGE INTO MainTa...
wono | discuss |
it ops db kysely merge

JSON utilities for `selectNoFrom` · Issue #1294 · kysely-org/kysely

Discussed in https://discord.com/channels/890118421587578920/1315878442281209907/1315878442281209907 Currently, all the json utilities expect a column. While it is possible to use these utilities via CTEs: const exampleJson = { foo: { ba...
wono | discuss |
it ops db merge

MERGE 문 사용법 (DUAL, UPDATE와 INSERT를 한번에)

MERGE 문을 사용하면 변경할 테이블에 데이터가 존재하는지 체크하고, UPDATE, DELETE, INSERT를 한 번에 작업이 가능하다. MERGE 문을 사용하지 않을 경우 해당 조건으로 테이블을 SELECT 한 후 IF 조건을 사용하여 UPDATE나 INSERT로 분기하는 로직을 작성해야 하는 번거로움이 있다. MERGE 문의 경우 단일(한개의) 테이블에 UPDATE 또는 INSERT를 하는 경우 많이 사용하지만, 두개의 테이블을 비교하거나 서브 쿼리의 결과에 따라서 UPDATE, INSERT 작업이 가능하다. MSSQL MERGE 문 단일 테이블 사용법 (DUAL) 오라클에서는 DUAL이라는 dummy 테이블을 USING 절에 사용하면 단일 테이블 작업이 간단하지만, MSSQL에서는 DUAL 테이..
wono | discuss |
it ops db postgresql merge

PostgreSQL 15にMERGE文UPSERTがやってくる | DevelopersIO

PostgreSQL 15がMERGE文を使ったUPSERTに対応します
wono | discuss |
it dev nextjs shadcn

Cannot set `Select` to an empty value. · Issue #2054 · shadcn-ui/ui

Maybe this is something very obvious that I'm not understanding, but I've checked out the shadcn-ui and the radix/primitives docs and I can't figure this out. Here's my code: const SelectField: React.FunctionComponent<SelectFieldProps> =...
wono | discuss |
it dev javascript formdata

[JavaScript] new FormData(form), Object.fromEntries(iterable), how to seriazlie form data

* forms with multiple fields that have the same name * How to serialize form data with vanilla JS 1) FormData object FormData object provides an easy way to serialize form fields into key/value pairs. Form fields must have a name attribute to be includes object. Otherwise, they're skipped. Title Body Soak up the sun and swim in the ocean. Submit // Get the form let form = document.querySelector(..
wono | discuss |
it ops db postgresql merge

Postgresql 로 Upsert 하기

Postgres 9.5(2016년 1월 7일 이후 출시) 이후 가능한 문법입니다.존재하지 않는 경우 삽입, 존재하는 경우 Nothing존재하지 않는 경우 삽입, 존재하는 경우 Update삽입이 되었으면, id 반환삽입이 된 경우 삽입된 id값을 반환한다.Serial,
wono | discuss |
it tool dbeaver

Dbeaver로 테이블 상세정보 엑셀 파일로 복사 및 저장하는 방법 (mysql, 컬럼명, 데이터 타입, null, key, 디폴트, 코멘트)

이번 회사에서 진행하고 있는 프로젝트에서는 mysql을 사용하고 있는데요. 여기에서 데이터베이스 관리를 위해 무료툴인 디비버(Dbeaver)를 사용하고 있습니다.오늘 해볼 일은 다른 DB툴에서 스키마 브라우져 같은 기능을 통해 테이블과 관련된 상세 정보를 볼 수 있는데요. 이 정보를 Dbeaver에서 조회해보고 나아가 엑셀 파일로 저장하는 방법을 알아보겠습니다.먼저 왼쪽에 있는 브라우져를 통해 아래와 같이 테이블을 선택할 수 있는데요. 테이블을 선택하고 마우스 우클릭을 하면 아래와 같이 'View table' 메뉴가 나타납니다. View table 메뉴를 선택하면 아래와 같이 테이블의 상세정보를 확인 할 수 있는데요. 기본적으로 컬럼의 상세정보를 확인할 수 있습니다. 컬럼명, 데이터 타입, null여부,..
wono | discuss |
Next
© 2025. LINKTAG.ORG. Help Feedback Privacy Terms